package com.bytezero.supertest3;

/**
 * 
 * @Description    AccountTest类
 * @author  Bytezero·zhenglei!      Email:420498246@qq.com
 * @version
 * @date 2021年9月20日上午9:52:27
 * @
 *
 */
public class AccountTest
{
	public static void main(String[] args) {
		
		Account acct = new Account(1122,20000,0.045);
		
		acct.withdraw(30000);
		System.out.println("您的账户余额为："+acct.getBalance());
		
		acct.withdraw(2500);
		System.out.println("您的账户余额为："+acct.getBalance());

		acct.deposit(3000);
		System.out.println("您的账户余额为："+acct.getBalance());
		
		System.out.println("月利率为："+(acct.getMonthlyInterest() *100) +"%");
		
		
		
	}
}





















































